#include<stdio.h>
#include<stdlib.h>
struct S
{
	char name[20];
	int age;
	float score;
};

int main()
{
	struct S s={0};
	FILE* pc = fopen("text3.txt","r");

	fscanf(pc, "%s %d %f", s.name, &(s.age), &(s.score));
	printf("%s %d %f",s.name,s.age,s.score);
	return 0;
}
